﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script>

        let hero = new Object();
        hero.name = `剑圣`;
        hero.age = 22;
        hero.address = `北京`;

        for (var key in hero) {
            console.log(key ,hero[key]);
        }
        
    </script>
</body>
</html>